package com.smforj.ssm.sys.dao;

import java.util.List;

import com.smforj.ssm.constant.MforjDao;
import com.smforj.ssm.sys.model.po.RankingPO;
import com.smforj.ssm.sys.model.query.RankingQuery;
import com.smforj.ssm.sys.model.result.RankingResponse;

/**
 * Created by shibiao on 16/10/5.
 */ 
@MforjDao
public interface IRankingDAO {
    int insertRanking(RankingPO entity);

    int batchInsertRankingList(List<RankingPO> rankingPOList);

    int updateRanking(RankingPO entity);

    List<RankingResponse> getRankingByQuery(RankingQuery query);
}
